import { request } from "@/api/service.js"
/**
   * @description 获取校园
   * @param {Object} data 
   */
export function getComSchool (data = {}){
  // 接口请求
  return request({
    url: '/comSchool/getComSchool',
    method: 'post',
    data: data
  })
}
/**
   * @description 获取校园(后台)
   * @param {Object} data 
   */
export function getComSchoolBack (data = {}){
    // 接口请求
    return request({
      url: '/comSchool/getComSchoolBack',
      method: 'post',
      data: data
    })
 }
/**
   * @description 添加校园
   * @param {Object} data 
   */
export function addComSchool (data = {}){
    // 接口请求
    return request({
      url: '/comSchool/addComSchool',
      method: 'post',
      data: data
    })
 }
/**
   * @description 修改校园
   * @param {Object} data 
   */
export function updateComSchool (data = {}){
    // 接口请求
    return request({
      url: '/comSchool/updateComSchool',
      method: 'post',
      data: data
    })
 }
 /**
   * @description 冻结校园
   * @param {Object} data 
   */
export function freezeComSchool (data = {}){
    // 接口请求
    return request({
      url: '/comSchool/freezeComSchool',
      method: 'post',
      data: data
    })
 }
 /**
   * @description 解冻校园
   * @param {Object} data 
   */
 export function thawComSchool (data = {}){
    // 接口请求
    return request({
      url: '/comSchool/thawComSchool',
      method: 'post',
      data: data
    })
 }